package com.boat.sample.support.interfaces.controller;

import org.springframework.web.bind.annotation.RestController;

import com.boat.boat.support.api.controller.NoticeApi;
import com.boat.boat.support.api.dto.notice.SendSMSReq;
import com.boat.boat.support.api.dto.notice.SendSMSRsp;
import com.boat.framework.base.api.Response;
import com.boat.framework.common.util.JsonUtils;

import lombok.extern.slf4j.Slf4j;

/**
 * 通知服务实现类
 * @author 周江
 *
 */
@Slf4j
@RestController
public class NoticeController implements NoticeApi {
	
	@Override
	public Response<SendSMSRsp> sendSMS(SendSMSReq request) {
		log.info("入参为：{}",JsonUtils.toJson(request));
		SendSMSRsp rsp = new SendSMSRsp();
		rsp.setTrackId("11111");
		return Response.ok(rsp);
	}
}
